Skip to content

Conversation

@david-yz-liu
Copy link
Contributor

@david-yz-liu david-yz-liu commented Mar 15, 2025

This pull requests updates the Python tester to add four new pytest custom markers:

  • markus_tag (for adding tags to a submission)
  • markus_annotation (for adding annotations to a submission)
  • markus_overall_comment (for adding overall comments to a submission)
  • markus_message (for displaying messages in the test output)

The first two build on #582 and MarkUsProject/Markus#7387. The third takes advantage of existing autotester functionality (which is currently only used by the PyTA tester).

The fourth modifies the current Python tester behaviour: currently, the only test output shown to students is error messages. The new marker allows the instructor to provide custom messages that are displayed to student regardless of test status; these can be used to provide feedback even when a test passes, or to provide additional information when a test fails.

@david-yz-liu david-yz-liu merged commit b8a9ed6 into master Mar 16, 2025
7 checks passed
@david-yz-liu david-yz-liu deleted the py-tester-markers branch March 16, 2025 14:57
@david-yz-liu david-yz-liu added this to the v2.6.1 milestone Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants